import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;


public class ConnectionManager {

	private static final String CONN_STR = "jdbc:mysql://166.111.82.41:3306/laudOnePiece";
	private static final String USER = "lauder";
	private static final String PASSWORD = "redual";
	public static Connection openConnection() throws SQLException, ClassNotFoundException {
		Class.forName("com.mysql.jdbc.Driver");
		Connection conn = DriverManager.getConnection(CONN_STR, USER, PASSWORD);
		return conn;
	}
	
}
